package study.intconsulting.services;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ServiceFactory {
	
	@Bean
	public ServiceExecuter rayService() {
		ServiceExecuter serviceExecuter = new RayService2();
		
		return serviceExecuter;
	} 
	
	@Bean
	public ServiceExecuter rayServiceDB() {
		ServiceExecuter serviceExecuter = new RayServiceDB();
		
		return serviceExecuter;
	}
	
}
